package com.zz.Interface.extend;

public interface A {
    void test1();
}

interface B{
    void test2();
}
//接口多继承
interface C extends A, B{

}
class D implements C{

    @Override
    public void test1() {

    }

    @Override
    public void test2() {

    }
}